#include<cassert>
#include<iostream>
#include<cstdio>
#include<cstdlib>
#include<cstring>
#include<cerrno>
#include<fcntl.h>
#include<unistd.h>
#include<sys/types.h>
#include<sys/stat.h>

#define FILE_PATH "/tmp/my_named_pipe"

void CreateNamedPipe(const char* path){
    umask(0);
    int r = mkfifo(path,0600);
    //perror("r");
    assert(r == 0);

}

void RemoveNamedPipe(const char* path){
    unlink(path);
}